import request from './request'

export const getGoods = ()=> request.post('product/getCategory')

export const getPages = (params)=> request.post('product/getAllProduct',params)

export const GetList = (productID)=> request.post('/product/getDetails',{productID})

export const GetListBanner = (productID)=> request.post('/product/getDetailsPicture',{productID})
// 加入购物车
export const AddCateList = (params)=>request.post('/user/shoppingCart/addShoppingCart',params)
// 喜欢
export const Like = (params) => request.post('/user/collect/addCollect',params);